namespace SubhadraSolutions.Sharp.Logging.Contracts
{
    using SubhadraSolutions.Sharp.Utils.Collections.Concurrent;
    using System;

    public interface ILogBuffer : IDisposable
    {
        #region Events

        event EventHandler<StoreFlushEventArgs<LogStoreItem>> OnStoreFlush;

        #endregion Events

        #region Methods

        bool Write(LogStoreItem item);

        #endregion Methods
    }
}